package com.lyf.scm.admin.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * description:
 * 计划管理通用响应DTO
 *
 * @author: haodong
 * @data: 2020/7/30 14:04
 */
@Data
@ApiModel("计划管理通用响应DTO")
public class PlanResponseDTO<T> {

    @ApiModelProperty("结果集合（泛型）")
    private List<T> infoList;

    @ApiModelProperty("日期集合（天）")
    private List<String> dateList;

    @ApiModelProperty("日期集合（获取年月日）")
    private List<String> dateLists;

    @ApiModelProperty("总条数")
    private Long total;

    @ApiModelProperty("目标页")
    private Integer pageNum;

    @ApiModelProperty("是否含有下一页")
    private Boolean hasNextPage;
}

